package com.zimmur.solr.model;

import org.apache.solr.client.solrj.beans.Field;

public class Designer implements SearchableDesigner {

	@Field(USERID_FIELD)
	private Long userId;
	@Field(FULLOWNUM_FIELD)
	private Integer followNum;//关注粉丝数
	@Field(TAGS_FIELD)
	private String tags;//标签
	@Field(LOGO_FIELD)
	private String logo;//品牌
	
	@Field(USERTYPE_FIELD)
	private String userType;
	@Field(DISPLAYSTATUS_FIELD)
	private Integer displayStatus;
	@Field(PHOTO_FIELD)
	private String photo;//个人照片
	@Field(ISRECOMMAND_FIELD)
	private Integer isRecommand;
	
	@Field(MAXIM_FIELD)
	private String maxim;//个人宣言
	
	@Field(NICKNAME_FIELD)
	private String nickName; //昵称
	@Field(PREFIX_FIELD)
	private String prefix;//首字母
	@Field(FULLNAME_FIELD)
	private String fullName;
	
	@Field(TOPICNUM_FIELD)
	private Integer topicNum;//文章数
	@Field(USERICON_FIELD)
	private String userIcon;//头像 
	@Field(GOODSNUM_FIELD)
	private Integer goodsNum=0;
	@Field(GOODSNUM_FIELD)
	private Integer createDate;
	private Integer isConcern=0;// 是否关注        
	
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Integer getFollowNum() {
		return followNum;
	}
	public void setFollowNum(Integer followNum) {
		this.followNum = followNum;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
	public String getUserType() {
		return userType;
	}
	public void setUserType(String userType) {
		this.userType = userType;
	}
	public Integer getDisplayStatus() {
		return displayStatus;
	}
	public void setDisplayStatus(Integer displayStatus) {
		this.displayStatus = displayStatus;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public Integer getIsRecommand() {
		return isRecommand;
	}
	public void setIsRecommand(Integer isRecommand) {
		this.isRecommand = isRecommand;
	}
	public String getMaxim() {
		return maxim;
	}
	public void setMaxim(String maxim) {
		this.maxim = maxim;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getPrefix() {
		return prefix;
	}
	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}
	public String getFullName() {
		return fullName;
	}
	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	public Integer getTopicNum() {
		return topicNum;
	}
	public void setTopicNum(Integer topicNum) {
		this.topicNum = topicNum;
	}
	public String getUserIcon() {
		return userIcon;
	}
	public void setUserIcon(String userIcon) {
		this.userIcon = userIcon;
	}
	public Integer getGoodsNum() {
		return goodsNum;
	}
	public void setGoodsNum(Integer goodsNum) {
		this.goodsNum = goodsNum;
	}
	public Integer getIsConcern() {
		return isConcern;
	}
	public void setIsConcern(Integer isConcern) {
		this.isConcern = isConcern;
	}
	@Override
	public String toString() {
		return "Designer [userId=" + userId + ", followNum=" + followNum + ", tags=" + tags + ", logo=" + logo
				+ ", userType=" + userType + ", displayStatus=" + displayStatus + ", photo=" + photo + ", isRecommand="
				+ isRecommand + ", maxim=" + maxim + ", nickName=" + nickName + ", prefix=" + prefix + ", fullName="
				+ fullName + ", topicNum=" + topicNum + ", userIcon=" + userIcon + ", goodsNum=" + goodsNum
				+ ", isConcern=" + isConcern + "]";
	}
	
	
	
	
	
	
}
